ThisBuild / version := "0.1.0-SNAPSHOT"

ThisBuild / scalaVersion := "2.13.16"

lazy val root = (project in file("."))
  .settings(
    name := "RDDPart",
  )

val sparkVersion = "3.5.5"
//val sedonaVersion = "1.4.1"

libraryDependencies ++= Seq(
  "org.apache.spark" %% "spark-core" % sparkVersion,
  "org.apache.spark" %% "spark-sql" % sparkVersion,  // 包含DataFrame API
  // Sedona核心依赖
//  "org.apache.sedona" % "sedona-core-3.0_2.12" % sedonaVersion,
//  "org.apache.sedona" % "sedona-sql-3.0_2.12" % sedonaVersion,
  // postgre sql jdbc驱动
//  "org.postgresql" % "postgresql" % "42.7.4",
//  "org.datasyslab" % "geotools-wrapper" % "1.6.0-28.2",
//  "org.apache.spark" %% "spark-graphx" % sparkVersion
  // Json库
  "io.circe" %% "circe-generic" % "0.14.14",
  "io.circe" %% "circe-parser" % "0.14.14"
)
